package com.google.mlkit.samples.nl.translate;

import android.os.Handler;
import android.os.Looper;

public class MainHandler extends Handler {

    static Handler h;
    public static Handler obtain() {
        if(h == null) {
            h = new Handler(Looper.getMainLooper());
        }
        return h;
    }
}
